<?php // no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<div id="main-body">						
						<div id="main-content">
						<div class="marb20">	

								{module Velkommen}					
							
						</div>

					<div id="content-bottom" class="clearfix">
						<div class="gallery">
							<h3 class="title"><span style="margin-left:300px;">Galleri</span></h3>
							<div class="content">
								<div class="calendar fll clearfix">
									<div id="datepicker"></div>
								</div>
								
									{module EF Valborghus billede}		
							
								
									{module EF Valborghus billede 2}	
								
							</div>
						</div>
					</div>
					 </div>
					 </div>
 <div id="sidebar-right">
					<div class="news">
						<div class="shadow"></div>
						<div class="inner-news">
							<div class="item">
									{module menu_right}		
							</div>
							<div class="item">
									{module menu_right_1}		
							</div>
						</div>
					</div>
					<div class="services">
						<h3 class="titlemod">Service</h3>
						<ul class="ul-reset">
									
									<?php 
									$db = &JFactory::getDBO();
									$query = "SELECT * FROM #__content AS content WHERE content.catid=5";
									$db->SetQuery($query);
									$row = $db->loadObjectList(); 
									///var_dump($row);exit;
									for($i=0;$i<count($row);$i++){	
									?>							
									<li><a href="index.php?option=com_content&view=article&id=<?php echo $row[$i]->id ?>&Itemid=1"><?php echo $row[$i]->title ?></a></li>									
									<?php }?>
						</ul>
					</div>
				</div>